import { Injectable } from '@nestjs/common';

@Injectable()
export class AppService {
  getHello(title: string): Array<string> {
    const initData = [
      'New York No. 1 Lake Park',
      'London No. 1 Lake Park',
      'Sydney No. 1 Lake Park'
    ];
    return initData.filter((item) => {
      return item.toLocaleLowerCase().includes(title.toLocaleLowerCase())
    })
  }
}
